const mongoose = require('mongoose')
const Schema = mongoose.Schema

// 实例化模板
const AdminUserSchema = new Schema({
  adminId: {
    type: String,
    require: true
  },
  name: {
    type: String,
    require: true
  },
  password: {
    type: String
    // require: true
  }
})

module.exports = mongoose.model('AdminUser', AdminUserSchema)
